package com.hsj.goldstore.base;

/**
 * Created by Administrator on 2018/3/22.
 * 服务端放回数据bean基类
 */

public class BaseBean<T> {

    private T data;
    private int code;
    private Object msg;
    private Object subData;

    public Object getSubData() {
        return subData;
    }

    public void setSubData(Object subData) {
        this.subData = subData;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }
}
